package org.performancetracker.api;

/**
 * Todo: should the getters be refactored out to say a getter with a class with protected getters?
 *
 * @author: jaronschut
 */
public interface Tracker {

	/**
	 * Aggregate the tracker.
	 *
	 * typical calling is:
	 *
	 * tracker.stop().aggregate("all ok");
	 */
	void aggregate(String message);

    /**
     * Start the timer.
     *
     * @return itself
     */
    Tracker start();  

    /**
     * Stop the timer.
     *
     * @return itself
     */
    Tracker stop();
}
